<include file="Public:header" /> 
<style>
#span_common{display:block}
.banner{height:150px;width:100%;text-align:center}
.center{width:1200px;margin:0 auto;border:0px;margin-top:10px}
.center_right{width:970px;float:right}
.center_left{width:160px;float:left;border:1px solid #dedede;padding:20px}
.shop_title{text-align:center;font-weight:bold;margin-top:10px;font-size:15px;border-bottom:1px dashed #dedede;height:25px}
.shop_1{width:452px;height:270px;float:left;margin:10px;border:1px solid #dedede;}
.shop_2{width:220px;height:270px;float:left;margin:10px;border:1px solid #dedede;}
.shop_2:hover{border:1px solid red}
.center_left ul img{width:100px;}
#shop_title{background:#EFFFFF;padding:5px;}
#shop_ad{font-size:12px;margin-left:20px;color:#75A1DA}
#shop_detail{padding:5px;margin:10px}
#shop_logo{width:100px;float:left}
#shop_intro{display:block;float:left;width:300px;margin-left:20px;margin-top:0px;font-size:12px;color:#C8B8C8}
#view_shop_btn{display:block;text-align:center;margin-top:10px}

#goods_pic{width:200px;height:200px;margin:0 auto;margin-top:10px}
#goods_pic img{height:200px;width:200px}
#goods_title{width:200px;height:20px;overflow:hidden;margin:0 auto;margin-top:5px;font-size:12px;color:#C8B8C8}
#goods_p{color:red;font-weight:bold;font-size:15px;width:100px;float:left}
#buy_btn{width:60px;float:right}
</style>

<body>
<if condition="$shop.shop_banner neq ''"><div class="banner" style="background:url('__APP__/weishop/logo/{$shop.shop_banner}') repeat center;"></div></if>
<div class="center">
	<div class="center_left">
		<ul style="text-align:center"><img src="__APP__/weishop/logo/{$shop.shop_logo}"></ul>
		<ul class="shop_title">{$shop.shop_name}</ul>
		<ul style="margin-top:10px"><b>商家介绍:</b><br>{$shop.shop_intro}</ul>
		<ul style="margin-top:10px"><b>蚂蚁点评:</b><br>{$shop.review}</ul>
	</div>

	<div class="center_right">
		<div class="shop">

	<volist name="goods" id="goods_list">
			<div class="shop_2">
				<ul id="goods_pic"><a href="__APP__/Goods/item.html?id={$goods_list.goods_id}"><img alt="{$goods_list.goods_name}" title="{$goods_list.goods_name}" src="__APP__/{$goods_list.m_pic}"></a></ul>
				<ul id="goods_title"><a href="__APP__/Goods/item.html?id={$goods_list.goods_id}">{$goods_list.goods_name}</a></ul>
				<ul id="goods_title">
					<li id="goods_p">￥{$goods_list.price}</li>
					<li id="buy_btn"><a href="__APP__/Goods/item.html?id={$goods_list.goods_id}"><img src="__APP__/weishop/resource/img/view_shop_icon.jpg"></a></li>
				</ul>
			</div>
	</volist>
		</div>
        <div style="clear:both"></div>
		<div id="page" class="shop" style="clear:both;margin-top:20px;text-align:center"></div>
	</div>
</div>

<div style="clear:both"></div>
<include file="Public:footer" /> 
<script type="text/javascript" src="__APP__/admin/js/page.js"></script>
<link type="text/css" rel="stylesheet" href="__APP__/admin/js/page.css" />
<script type="text/javascript">
$(function(){
	$("#page").SOFUPage({
		Style: "Twitter-yellow",
		NextPrev: false,
		FirstLast:false,
		AllCount:{$page.count},
		PageCount:{$page.page_size},
		NowPage: {$page.now_page},
		MaxShow: 6,
		Href: "__URL__/home.html?id={$shop.shop_id}&page={page}",
		Target: "_self",
		IsCurAble: false,
		OnChange: function (page) {
		}
	});

});
</script>
